SUBDIRS=foo foo1 foo2 src
AUTOMAKE_OPTIONS=foreign
nativelibPATH=/home/ligb/android-ndk/samples/native-activity/jni
nativelibdir=$(libdir)
nativelib_PROGRAMS=native.so
native_so_SOURCES=$(nativelibPATH)/main.c
native_so_LDFLAGS=-shared -lm -llog -landroid -lEGL -lGLESv1_CM
LIBS=-L/usr/lib -L./ -lm

my3ddd=$(nativelibPATH)
native_so_LDADD= $(my3ddd)/foo/my.so 
native_so_LDADD+=$(my3ddd)/src/my3.so
AM_CPPFLAGS=-I$(my3ddd)/foo -I$(my3ddd)/src
